<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ page session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Cadastro de Usuário</title>
</head>
<body>
	<div>	
		<form:form modelAttribute="usuario" action="usuario" method="post">
		  	<fieldset>		
				<legend>Cadastro de Usuário</legend>
				<p>
					<form:label	for="nome" path="nome">Nome:</form:label>
					<form:input path="nome" /> <form:errors path="nome" />			
				</p>
				<p>
					<form:label	for="email" path="email">Email:</form:label>
					<form:input path="email" /> <form:errors path="email" />			
				</p>
				<p>	
					<form:label for="senha" path="senha">Escolha uma senha:</form:label>
					<form:password path="senha" /> <form:errors path="senha" />
				</p>
				<p>	
					<form:label for="confirmacaoSenha" path="confirmacaoSenha">Digite a senha novamente:</form:label>
					<form:password path="confirmacaoSenha" /> 
					<form:errors path="confirmacaoSenha" />
				</p>
				<p>
					${ RECAPTCHA_HTML }
					<form:errors id="recaptcha"/> 
				</p>
					<input type="submit" value="Cadastrar" />
				</p>
			</fieldset>
		</form:form>
	</div>	
</body>
</html>